<?php

if (!defined('CMS_SYSTEM')) die();

global $onls_g, $statcls, $stathits1;

if ($onls_g!="") 
{ 
	$onls_g1 = explode("|",$onls_g); 
	$num_h2 = sizeof($onls_g1); 
} 
else 
{ 
	$num_h2 = 0; 
}
$num_h2 = str_pad( $num_h2, 4, "0", STR_PAD_LEFT );
$content="";
$content .="<div class=\"div-block\">";
$content .="<div class=\"div-tblock\">"._OLSTATISTIC."</div>";
$content .= "<table border=\"0\" cellspacing=\"1\" style=\"border-collapse: collapse\" width=\"100%\">";
$content .= "<tr>";
$content .= "<td height=\"30\">&nbsp;<span class=\"left-text\">"._OLGUESTS.":</span></td>";
$content .= "<td align=\"right\"><span class=\"left-text\">".$num_h2."</span></td>";
$content .= "</tr>";
$content .= "<tr>";
$content .= "<td>&nbsp;<span class=\"left-text\">"._HITSOL.":</span></td>";
$content .= "<td align=\"right\"><span class=\"left-text\">".$stathits1."</span></td>";
$content .= "</tr>";
$content .= "</table>";
$content .="</div>";
?>
